{
    "height": 12, // Waybar height (to be removed for auto height)
    "spacing": 18,
    "modules-left": [
        "hyprland/workspaces"
    ],
    "modules-center": [
        "hyprland/window"
    ],
    "modules-right": ["network", "memory", "clock"],
    // Modules configuration
    "hyprland/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "format": "{name}",
        "on-click": "activate"
    },
    "river/mode": {
        "format": "{}"
    },
    "hyprland/window": {
        "max-length": 100,
        "rewrite": {
            "(.*) LibreWolf": "LibreWolf",
            "rofi - (.*)": "",
            "• Discord (.*)": "Discord",
            "foot": ""
        }
    },
    "keyboard-state": {
        "numlock": false,
        "capslock": true,
        "format": "{name} {icon}",
        "format-icons": {
            "locked": "L",
            "unlocked": "U"
        }
    },
    "tray": {
        "spacing": 10
    },
    "clock": {
        "timezone": "Asia/Vladivostok",
        "tooltip-format": "{calendar}",
        "format-alt": "{:%d.%m.%Y %H:%M}"
    },
    "cpu": {
        "format": "CPU: {}%",
        "format-alt": "CPU: {}%, {avg_frequency}GHz of {max_frequency}GHz"
    },
    "memory": {
        "format": "RAM: {used}GiB used",
        "format-alt": "RAM: {used}GiB of {total}GiB"
    },
    "network": {
        "format-wifi": "{ifname}: {signalStrength}%",
        "format-ethernet": "{ifname}",
        "tooltip-format": "{ifname} via {gwaddr}",
        "format-linked": "{ifname} (No IP)",
        "format-disconnected": "Disconnected",
        "format-alt": "{ifname}: {ipaddr}/{cidr}"
    }
}
